package presentation;

import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionListener;

import javax.swing.JButton;

public class PButton extends JButton {

	private static final long serialVersionUID = 3L;

	public PButton (String name, ActionListener listener, Font font) {
		this.setText(name);
		this.setBackground(Color.white);
		this.setForeground(Color.black);
		this.setFont(font);
		this.addActionListener(listener);
	}
}